xen/pdx: Introduce helper to convert MFN <-> PDX
authorJulien Grall <julien.grall@arm.com>
Wed, 21 Feb 2018 13:46:25 +0000 (13:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Apr 2018 17:43:43 +0000 (18:43 +0100)
commit18d12056ccea435dca7fcbe2085fff15bca19046
treea6cb3ec654356cb3e064c1a2679f526414288a3b
parentcf2239a6288c7095583d3351f5024ab8c1e37f87
xen/pdx: Introduce helper to convert MFN <-> PDX

This will avoid use of pfn_to_pdx(mfn_x(mfn)) over the code base.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/xen/pdx.h